html,
body {
    height: 100%;
    padding: 0;
    margin: 0;
    background-color: #f1f1f1;
}

input,
input:focus,
textarea,
textarea:focus,
select,
select:focus {
    font-size: 16px !important;
}

/* 表单容器 */
.report-contents-item-box {
    background-color: white;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    margin-left: 8px;
    margin-right: 8px;
    margin-top: 8px;
    color: #000000E6;
}

/* 标题样式 */
.saleOrders-message {
    margin: 10px;
    border-left: 4px solid #07c160;
    padding-left: 15px;
    font-weight: 600;
}

/* 底部操作栏 */
.operation {
    background-color: #fff;
    border: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 8px;
    margin: 0;
}

.operation-child {
    display: flex;
    justify-content: space-between;
    padding: 0px;
}

/* 表单内容容器添加底部内边距，避免被固定按钮遮挡 */
#main-add-procurement-plan {
    padding-bottom: 80px;
}

/* WeUI单元格样式 */
.weui-cell {
    display: flex;
    align-items: center;
    overflow: visible;
}

.weui-cell:before {
    left: 16px;
    right: 16px;
}

.weui-cells__group_form .weui-cell:before,
.weui-cells__group_form .weui-cells:before {
    left: 16px;
    right: 16px;
}

/* 标题固定宽度 */
.weui-cell__hd {
    flex-shrink: 0;
    min-width: 80px;
    max-width: 80px;
    text-align: left;
}

.weui-cell__hd .weui-label {
    width: 100%;
    display: block;
}

/* 输入区域占据剩余空间 */
.weui-cell__bd {
    flex: 1;
    text-align: right;
    position: relative;
    min-width: 0;
    overflow: visible;
}

.weui-cell__ft {
    flex: 1;
    overflow: visible;
    min-width: 0;
}

.weui-cell_orgs {
    width: 100%;
    overflow: visible;
    display: flex;
    align-items: center;
}

.weui-cell_orgs .weui-cell__hd {
    flex-shrink: 0;
}

.weui-cell_orgs .weui-cell__bd {
    flex: 1;
    min-width: 0;
}

.weui-cells__group_form .weui-cell_select .weui-cell__bd:after {
    right: 5px;
}

/* 公司选择右箭头样式 */
.weui-cell_orgs .weui-cell__ft:after {
    content: " ";
    width: 12px;
    height: 24px;
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100%;
    mask-size: 100%;
    background-color: currentColor;
    color: rgba(0, 0, 0, .3);
    color: var(--weui-FG-2);
    -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);
    mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -12px;
    margin-right: 10px;
}

/* Select2样式 */
.select2-container--default .select2-selection--single {
    height: 40px !important;
    line-height: 1.57143 !important;
    padding: 0.286rem 1.716rem 0.286rem 0.858rem !important;
}

.select2-container--default .select2-selection {
    font-size: 15px !important;
}

.select2-selection__rendered {
    margin-top: -6px !important;
    padding: 3px !important;
    float: left !important;
    margin-left: -25px;
    font-size: 15px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: calc(100% - 20px) !important;
    display: inline-block !important;
}

.select2-selection__arrow {
    display: none;
}

.select2-search__field {
    height: 30px !important;
    font-size: 16px !important;
}

/* Select2容器宽度 */
.select2.select2-container.select2-container--default {
    width: 100% !important;
    max-width: 100% !important;
}

/* Select2下拉菜单宽度对齐选择框 */
.select2-dropdown {
    box-sizing: border-box !important;
}

.select2-dropdown.select2-dropdown--below {
    margin-top: -1px !important;
    border-top: none;
}

/* 强制下拉框宽度不自动调整 */
.select2-results {
    max-width: 100% !important;
}

.select2-results__options {
    max-width: 100% !important;
}

/* 下拉框列表项宽度控制 */
.select2-results__option {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.select2-selection__clear {
    display: none;
}

.selection .select2-selection .select2-selection__rendered {
    color: #000000E6;
}

/* 输入框样式 */
.weui-input {
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.masterpad {
    padding-left: 10px;
}

.remark {
    font-family: "Roboto", sans-serif;
}

.weui-textarea {
    min-height: 80px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* 红色必填标记 */
.red-900 {
    color: #ff0000;
}

.stycon {
    min-width: 105px;
}

.selcon {
    display: flex;
    align-items: center;
}

.selcon>span {
    display: inline-block;
    width: 66px;
}

#add-procurement-plan-form .stycon .red-900 {
    position: absolute;
    left: 75px;
}

/* 清除背景 */
.clearContent {
    background-color: transparent;
}

/* 禁止垂直方向缩放 */
* {
    touch-action: pan-y;
}

/* Vue cloak */
[v-cloak] {
    display: none;
}

/* 备注部分特殊布局 */
.remark-cell {
    display: block !important;
}

.remark-wrapper {
    width: 100%;
}

.remark-input-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
    margin-top: 5px;
}
